
package com.JupiterMoons;

import com.JupiterMoons.JupiterMoons.DemoView;

import android.os.CountDownTimer;
import android.util.Log;

public class MyCounter extends CountDownTimer {
	
	DemoView myDemoView;
	
    public MyCounter(long millisInFuture, long countDownInterval) {
      super(millisInFuture, countDownInterval);
    }

    public void onFinish() {
    	Log.v("C2HDebugging", "restarting clock");
    		start();
//                textLocalTime.setText("Done!");
    }
   
    public void onTick(long millisUntilFinished) {
    	myDemoView.invalidate();
    }
    
    public void SetView(DemoView demoview){
    	myDemoView = demoview;
    }
}
